#!/bin/sh
echo "Download librusty_v8 static version ${1}"
mkdir -p v$1
cd v$1
wget https://github.com/denoland/rusty_v8/releases/download/v${1}/librusty_v8_release_aarch64-unknown-linux-gnu.a.gz
wget https://github.com/denoland/rusty_v8/releases/download/v${1}/librusty_v8_release_x86_64-unknown-linux-gnu.a.gz
ls -alh
cd -
tar -czvf cargo-librusty-v8-v$1 v$1
rm v$1
